﻿#ifndef PROGRESSMANAGEDIALOG_H
#define PROGRESSMANAGEDIALOG_H

#include <QDialog>
#include <QStandardItemModel>
#include <progressservice.h>

namespace Ui {
class ProgressManageDialog;
}

class ProgressManageDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ProgressManageDialog(QWidget *parent = nullptr);
    ~ProgressManageDialog();
public slots:
    void addProgress();
    void upProgress();
    void delProgress();

    void selectAll();
private slots:
    void on_tableView_customContextMenuRequested(const QPoint &pos);

    void on_addBtn_clicked();

private:
    Ui::ProgressManageDialog *ui;
    QStandardItemModel *tableModel;
    ProgressService progressService;
};

#endif // PROGRESSMANAGEDIALOG_H
